/**
 * 设置登录Token
 * @param {String} token 
 * @return 
 */
export function setToken(token: String) {
	localStorage.setItem('token', token.toString())
}

/**
 * 获取Token
 * @return 
 */
export function getToken(): String {
	return localStorage.getItem('token') || ''
}

/**
 * 清除登录Token
 * @return 
 */
export function clearToken() {
	localStorage.removeItem('token')
}